FROM swr.cn-north-1.myhuaweicloud.com/xc-test/java:8
ENV JOB ck-client-api.jar
ENV PORT 9001
ENV ACTIVE dev
ENV LOG_PREFIX=ck-client-api
ENV LOG_HOME=/data/logs/$LOG_PREFIX
ADD ./target/$JOB /data/app.jar
ADD ./run.sh /data
WORKDIR /data
ENTRYPOINT sh /data/run.sh
